package org.sucri.floxs.ext.form;

import org.sucri.floxs.utils.Json_Util;

/**
 * Created by IntelliJ IDEA.
 * User: Wen Yu
 * Date: Aug 19, 2007
 * Time: 4:53:24 PM
 * To change this template use File | Settings | File Templates.
 */
public class TextField extends FormField
{
  public TextField(String label, String name, int w)
  {
    super(label, name, w);
  }
  /**
   var employee_name = new Ext.form.TextField({
       fieldLabel: 'Name',
       name: 'name',
       width:190
   });
   *
   * @return
   */
  @Override
  public String construct()
  {
    return Json_Util.newJs("Ext.form.TextField", Json_Util.toJSONString(mConfig));
  }  
}
